import { update } from "../../other/update.js"
 export class tkupdate extends plugin {
   constructor() {
     super({
       name: "[萝莉插件]更新",
       event: "message",
       priority: 1145,
       rule: [
         {
           reg: "^#*(i|萝莉)(插件)?(强制)?更新$",
           fnc: "update"
         }
       ]
     })
   }
   async update(e = this.e) {
     e.msg = `#${e.msg.includes("强制")?"强制":""}更新iloli-plugin`
     const up = new update(e)
     up.e = e
     return up.update()
   }
}